package com.sws.mapping;

import java.util.List;
import java.util.Map;

import com.sws.domain.Paper;
import com.sws.model.bean.C2SPaperBean;
import com.sws.model.bean.S2CPaperBean;

public interface PaperMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Paper record);

    int insertSelective(Paper record);

    Paper selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Paper record);

    int updateByPrimaryKey(Paper record);
    
    void uploadPaper(C2SPaperBean bean);
    
    List<S2CPaperBean> getPersonalPaper(Map map);
}